//
//  Const.swift
//  DetailList
//
//  Created by mayuncui on 2020/9/23.
//  Copyright © 2020 Myc. All rights reserved.
//

import UIKit

let iPhone_W:CGFloat = UIScreen.main.bounds.size.width

let iPhone_H:CGFloat = UIScreen.main.bounds.size.height


// 宽 : 高 = 4 : 3 则 高 = 3宽 ／4
let imgRadio:CGFloat = 3 / 4
//设置图片间隔
let imgSpace:CGFloat = 15

//设置 3 - 9 张图片 时宽度
let imgWidth:CGFloat = (iPhone_W - 30 - 60)/3

let img1Width:CGFloat = iPhone_W - 30
let img1Height:CGFloat = img1Width * imgRadio

let img2Width:CGFloat = (iPhone_W - 30 - 45)/2
let img2Height:CGFloat = img2Width * imgRadio
